package com.example.crawler;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author rezero
 * @EnableScheduling  开启定时任务
 * @SpringBootApplication  启动类注解
 * @EnableSwagger2 开启swagger注解
 */
@EnableSwagger2
@EnableScheduling
@SpringBootApplication
public class CrawlerApplication {

    public static void main(String[] args) {
        SpringApplication.run(CrawlerApplication.class, args);
    }

}
